<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: Rainh
  Date: 2020/4/27
  Time: 10:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生信息</title>
</head>
<body>
<%--    <form action="studentServlet?param=add" method="post">--%>
    <form action="/addController" method="post">
        <table width="500" align="center">
            <caption>添加学生信息</caption>
            <tr>
                <td>学号</td>
                <td>
                    <input type="text" name="id">
                </td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>
                    <input type="text" name="name">
                </td>
            </tr>
            <tr>
                <td>性别</td>
                <td>
                    <input type="text" name="gender">
                </td>
            </tr>
            <tr>
                <td>年龄</td>
                <td>
                    <input type="text" name="age">
                </td>
            </tr>
            <tr>
                <td>地址</td>
                <td>
                    <input type="text" name="address">
                </td>
            </tr>
            <tr>
                <td>
                    <input type="reset" value="重新填写">
                </td>
                <td>
                    <input type="submit" value="添加信息">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
